import request from '../utils/request.js'

export const cakeGet = (page=1,bcid=1)=>{
	return request.get('classes/CakeGoods',{
		params:{
			limit:8,
			skip:(page-1)*8,
			where:{bcid}
		}
	})
}

export const cakeDetailGet = (objectId)=>{
	return request.get(`classes/CakeGoods/${objectId}`)
}